package ExperimentFour.Strategy;

/**
 * @author 北巷_东坡
 * @date 2022/11/15 19:42
 * @computer 10741
 */
public class VIPDiscount206 extends Discount206{
    @Override
    public int doDiscount(int price) {
        this.integral++;
        System.out.println("增加积分！");
        int discount;
        discount = price / 2;
        return discount;
    }
}
